#include "DBTool.h"
#include "DBToolAbout.h"
#include "version.h"

// About dialog's event loop.
// Not needed because we only have a default OK button.
//BEGIN_EVENT_TABLE( DBToolAbout, AboutDlg )
	//EVT_BUTTON( wxID_OK, DBToolAbout::OnOK )
//END_EVENT_TABLE()

DBToolAbout::DBToolAbout( wxWindow* parent )
	: AboutDlg( parent, -1 )
{
	m_staticVersion->SetLabel( m_staticVersion->GetLabel() + wxT(" " APP_VERSION_NUMBER) );
	
	// Resize to fit the contents.
	this->GetSizer()->SetSizeHints( this );
}
